

package com.bash.compta.data;

/**
 *
 * @author bash
 */
public class Login {

    private String name;
    private String username;
    private String password;
    private int credit_level;
    private boolean actif=true;

    public Login() {
    }



    public Login(String username, String password) {
        this.username = username;
        this.password = password;
    }

    public Login(String name,String username, String password, int credit_level) {
        this.username = username;
        this.password = password;
        this.credit_level = credit_level;
        this.actif=true;
        this.name=name;
    }

    public Login(String name, String username, String password, int credit_level,boolean actif) {
        this.name = name;
        this.username = username;
        this.password = password;
        this.credit_level = credit_level;
        this.actif=actif;
    }

    public boolean isActif() {
        return actif;
    }

    public void setActif(boolean actif) {
        this.actif = actif;
    }


    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public int getCredit_level() {
        return credit_level;
    }

    public void setCredit_level(int credit_level) {
        this.credit_level = credit_level;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    

}
